package com.ph.website.home.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ph.website.home.entity.HelpSupport;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HelpSupportMapper extends BaseMapper<HelpSupport> {

    /**后台分页查询列表*/
    List<HelpSupport> list(@Param("start")Integer start,
                           @Param("num")Integer num,
                           @Param("helpType")Integer helpType,
                           @Param("helpState")Integer helpState,
                           @Param("key")String key);

    /**后台分页查询列表总数*/
    int listCount(@Param("helpType")Integer helpType,
                  @Param("helpState")Integer helpState,
                  @Param("key")String key);
}
